//我的页面
const minePage = () => import('views/mine/index')
export default {
    path: '/mine',
    name: 'mine',
    component: minePage,
    beforeEnter(to, from, next) {
        if (!document.cookie) {
            alert('你未登录请先登录账号')
            next({name:'login'})
        } else {
            next()
        }
    },
    meta: { navShow: true }
}